package com.health.db.mapper;

import com.health.db.model.PatientList;
import com.health.db.model.PatientListExample;
import com.health.db.model.PatientListTemp;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatientListMapper {
    int countByExample(PatientListExample example);

    int deleteByExample(PatientListExample example);

    int deleteByPrimaryKey(Long recid);

    int insert(PatientList record);

    int insertSelective(PatientList record);

    List<PatientList> selectByExample(PatientListExample example);
    
    List<PatientListTemp> selectByPatientListSelective(PatientList example);
    
    PatientList selectByPrimaryKey(Long recid);

    int updateByExampleSelective(@Param("record") PatientList record, @Param("example") PatientListExample example);

    int updateByExample(@Param("record") PatientList record, @Param("example") PatientListExample example);

    int updateByPrimaryKeySelective(PatientList record);

    int updateByPrimaryKey(PatientList record);
    
    PatientList selectByPatientId(Long patientId);
}